package com.css.zfzx.fxpg.modules.percent.economicloss.viewobjects;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.handler.inter.IExcelDataModel;
import cn.afterturn.easypoi.handler.inter.IExcelModel;
import lombok.Data;

import javax.persistence.*;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * @author leon
 * @date 2020-11-17
 */
@Data
public class FxEconomicLossVO implements Serializable, IExcelDataModel, IExcelModel {
    private Integer rowNum;
    private String errorMsg;


    @NotNull(message = "缺失")
    @Excel(name = "省", width = 15)
    private String province;

    @NotNull(message = "缺失")
    @Excel(name = "市", width = 15)
    private String city;


    @NotNull(message = "缺失")
    @Excel(name = "区(县)", width = 15)
    private String area;

    @NotNull(message = "缺失")
    @Excel(name = "结构类型", width = 15)
    private String structureType;

    @NotNull(message = "缺失")
    @Excel(name = "金额(元/m2)", width = 15)
    private BigDecimal price;

}